﻿using DTM.Model;
using System;
using System.Collections.Generic;
using System.Windows.Forms;

namespace DTM.WinApp.Players
{
    public interface IPlayerView : IView
    {
        void Initialize(IPlayer player);

        event EventHandler<EventArgs> SavePlayer;

        event EventHandler<EventArgs> UpdatePlayer;

        event EventHandler<EventArgs> DeletePlayer;

        int PlayerId { get; }

        string PlayerName { get; }

        string PlayerSurname { get; }

        string PlayerEmail { get; }

        void Close(DialogResult result);
    }
}